package org.jeecg.modules.advertisement.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 广告设置
 * @Author: jeecg-boot
 * @Date:   2024-07-09
 * @Version: V1.0
 */
@Data
@TableName("gw_advertisement")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="gw_advertisement对象", description="广告设置")
public class GwAdvertisement implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**广告标题*/
	@Excel(name = "广告标题", width = 15)
    @ApiModelProperty(value = "广告标题")
    private String advertisementName;
	/**广告链接*/
	@Excel(name = "广告链接", width = 15)
    @ApiModelProperty(value = "广告链接")
    private String advertisementLink;
	/**广告图片*/
	@Excel(name = "广告图片", width = 15)
    @ApiModelProperty(value = "广告图片")
    private String advertisementPicture;
	/**展示时间*/
	@Excel(name = "展示时间", width = 15)
    @ApiModelProperty(value = "展示时间")
    private String advertisementTime;
	/**展示排期*/
	@Excel(name = "展示排期", width = 15)
    @ApiModelProperty(value = "展示排期")
    private String advertisementSort;
	/**栏目名称*/
	@Excel(name = "栏目名称", width = 15)
    @ApiModelProperty(value = "栏目名称")
    private String nvaiName;
	/**广告位置*/
	@Excel(name = "广告位置", width = 15)
    @ApiModelProperty(value = "广告位置")
    private String advertisementPosition;
}
